package com.zqh.app;

import com.zqh.app.service.UserService;
import com.zqh.springframework.ApplicationContext;

//TIP 要<b>运行</b>代码，请按 <shortcut actionId="Run"/> 或
// 点击装订区域中的 <icon src="AllIcons.Actions.Execute"/> 图标。
public class MyApplication {
    public static void main(String[] args) throws Exception {

        ApplicationContext ioc = new ApplicationContext(AppConfig.class);

        UserService userService = (UserService) ioc.getBean("userServiceImpl");
        userService.say();

    }
}